﻿@model BanDTBLL.san_pham

@{
    ViewBag.Title = "Detail";
}

<div style="float:left; display: block;">
    <table cellpadding="0" cellspacing="0" border="1" width="575">
        <tr>
            <td style="text-align: center; height: 40px; font-size: 20px; font-weight: bold;">Thông tin chi tiết sản phẩm</td>
        </tr>
    </table>
</div>


<div style="float:left; display: block; width: 573px; height: 300px; margin-top: 20px; ">
    <div style="float: left; display: block; width: 250px;">
        <img src="@Url.Content("~/Content/Images/sanpham/" + @Model.hinh )" style="width: 250px;" />
    </div>
    <div style="float: left; display: block; width: 293px;">
        <table cellpadding="0" cellspacing="0"  width="293px">
            <tr>
                <td style="text-align: left; height: 40px; font-size: 15px; width : 120px;">Tên Sản Phẩm: </td>
                <td style="text-align: left; height: 40px; font-size: 15px;">@Model.ten </td>
            </tr>
            <tr>
                <td style="text-align: left; height: 40px; font-size: 15px; width : 120px;">Loại Sản Phẩm:</td>
                <td style="text-align: left; height: 40px; font-size: 15px;">@Model.loai_san_pham.tenLoai  </td>
            </tr>
            <tr>
                <td style="text-align: left; height: 40px; font-size: 15px; width : 120px;">Đơn Giá:</td>
                <td style="text-align: left; height: 40px; font-size: 15px; color:Red; font-weight bold;">@Model.donGia.ToString() đ</td>
            </tr>
             <tr >
                <td style =" height : 10px;"></td>
                <td></td>
            </tr>
            <tr>
                <td style="text-align: left; height: 40px; font-size: 15px; width : 120px; vertical-align : top ;">Mô Tả:</td>
                <td style="text-align: left; height: 40px; font-size: 15px; vertical-align : top ;">@Model.moTaTomTat  </td>
            </tr>
            <tr >
                <td style =" height : 15px;"></td>
                <td></td>
            </tr>
            <tr>
                <td style="text-align: left ; height: 40px; font-size: 15px; width : 120px; vertical-align : top ;">Mô Tả Chi Tiết:</td>
                <td style="text-align: left ; height: 40px; font-size: 15px; vertical-align : top ;">@Model.moTaChiTiet </td>
            </tr>
        </table>
    </div>
</div>
